<?php /* Smarty version 2.6.18, created on 2012-05-16 23:42:06
         compiled from E:%5Cwork%5Cvfriend/library/Vfriend/Plugins/Tpl/box-userinfo.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'vfriend_username', 'E:\\work\\vfriend/library/Vfriend/Plugins/Tpl/box-userinfo.tpl', 8, false),array('function', 'image', 'E:\\work\\vfriend/library/Vfriend/Plugins/Tpl/box-userinfo.tpl', 8, false),)), $this); ?>
<div class="boxUserInfo">
	<div class="headerTitle"><h3 class="<?php if ($this->_tpl_vars['objUser']->gender == 1): ?>gMale<?php elseif ($this->_tpl_vars['objUser']->gender == 2): ?>gFemale<?php endif; ?>"><a href="<?php echo @HOST_VFRIEND; ?>
<?php echo $this->_tpl_vars['objUser']->username; ?>
"><?php if ($this->_tpl_vars['objUser']->username): ?><?php echo $this->_tpl_vars['objUser']->username; ?>
<?php else: ?><?php echo $this->_tpl_vars['objUser']->fullnamevn; ?>
<?php endif; ?></a></h3></div>
	<div class="userInfoItem">
    	<div class="userInfoItems">
            <table width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td>
                        <a href="<?php echo smarty_function_vfriend_username(array('userid' => $this->_tpl_vars['objUser']->id), $this);?>
"><img src="<?php echo smarty_function_image(array('path' => $this->_tpl_vars['objUser']->image_path), $this);?>
" alt="Hình đại diện <?php echo $this->_tpl_vars['objUser']->username; ?>
 trên <?php echo @DOMAIN_NAME; ?>
" border="0" /></a>
                    </td>
                </tr>
                <?php if ($this->_tpl_vars['AppUI']->id > 0 && $this->_tpl_vars['AppUI']->id != $this->_tpl_vars['objUser']->id): ?>
                   <tr>
                        <td>
                        	<div class="act">
                                <a href="#"><img src="<?php echo @HOST_STATICS; ?>
img/btn/gift.jpg" alt="Tặng quà" border="0" width="68" height="19" class="first" /></a>
                                <a href="#"><img src="<?php echo @HOST_STATICS; ?>
img/btn/message.jpg" alt="Gửi thư" border="0" width="68" height="19" /></a>
                                <a href="#"><img src="<?php echo @HOST_STATICS; ?>
img/btn/more.jpg" alt="Mở rộng" border="0" width="28" height="19" /></a>
                            </div>
                        </td>
                    </tr>
                <?php endif; ?>
            </table>
            <?php if ($this->_tpl_vars['AppUI']->id > 0): ?>
                <ul>
                    <li class="firstChild">
                        <ul>
                            <li><a href="<?php echo smarty_function_vfriend_username(array('userid' => $this->_tpl_vars['objUser']->id), $this);?>
" class="mFullHouse<?php if ($this->_tpl_vars['strController'] == 'fullhouse' && $this->_tpl_vars['strAction'] == 'index'): ?> active<?php endif; ?>">Full-house</a></li>
                            <li><a href="#" class="mInformation<?php if ($this->_tpl_vars['strController'] == 'fullhouse' && $this->_tpl_vars['strAction'] == 'information'): ?> active<?php endif; ?>">Thông tin</a></li>
                            <li><a href="#" class="mDiary">Nhật ký</a></li>
                            <li><a href="#" class="mPhoto">Bộ sưu tập ảnh</a></li>
                            <li><a href="#" class="mFriend">Bạn bè</a></li>
                        </ul>
                    </li>                    
                    <li>
                        <h3>Kết bạn</h3>
                        <ul>
                        	<li><a href="#" class="mOffline">Offline</a></li>
                            <li><a href="<?php echo @LINK_MEMBER_INDEX; ?>
" class="mSearch<?php if ($this->_tpl_vars['strController'] == 'member'): ?> active<?php endif; ?>">Tìm bạn</a></li>
                            <li><a href="#" class="mGift">Quà lưu niệm</a></li>                            
                        </ul>
                    </li>                  
                </ul>
           	<?php endif; ?>
        </div>
    </div>
</div>